<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>登录</title>
		<link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath }/assets/fontsawesome/css/font-awesome.css"/>
		<link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath }/assets/css/style.css"/>
		<link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath }/assets/css/datepicker.css"/>
	</head>
	<body>
	<style>
	.top_title{
		font-size:2em;
		width:100%;
		text-align:center;
		padding:2em 0;
	}
	</style>
	
	<div class="top_title">登陆页面</div>
	
	<c:if test="${code}==1">
		<div class="top_title">登陆成功</div>
	</c:if>
	<c:if test="${code}==2">
		<div class="top_title">登陆成功</div>
	</c:if>
	<c:if test="${code}==3">
	
		ok
	</c:if>
	<c:if test="${code}==4">
		<div class="top_title">登陆成功</div>
	</c:if>
	
	
		<div class="main_box">
			<div class="cont_box editpro_box" style="width: 500px; margin: 200px auto;">
				<form action="${pageContext.request.contextPath }/loginRegister.do?method=login" method="post" id="ycard_form">
					<ul class="addpro_box adduser_box">
						<li>
							<label>用户名：</label>
							<input type="text" name="username" placeholder="请输入用户名"/>
						</li>
						<li>
							<label>密码：</label>
							<input type="password" name="password" placeholder="请输入密码"/>
						</li>
						<li>
							<label>请选择科室：</label>
							<select name="department">
								<option value="1">服务台</option>
								<option value="2">工作站</option>
								<option value="3">收费处</option>
								<option value="4">取药房</option>
								<option value="5">注射室</option>
								<option value="6">化验站</option>
								<option value="7">影像科</option>
							<select>
						</li>
					<div class="probtn_box clearfix">
						<input type="submit" value="点击登录" class="btn blue_btn submit" style="width: 30%;"/>
						<a href="zhuce.jsp" class="btn btn_warn" style="width:25%;">我要注册 </a>
					</div>
				</form>
			</div>
		</div>
	</body>
</html>